
import ajax from '@/router/request'

export const examList = (temp) => ajax('/api/exam/listExam', temp, 'GET')
export const subjectList = (temp) => ajax('/api/exam/subjectListByExamId', temp, 'GET')
export const saveExam = (temp) => ajax('/api/exam/saveExamHistory', temp, 'POST')
export const examApply = (temp) => ajax('/api/exam/apply', temp, 'POST')
export const subWorkList = (temp) => ajax(`/api/exam/get/${temp}`, {}, 'GET')


